        <div class="searchAlpha">
            <span class="icon">&nbsp;</span>
            <?php if($letter_count): 
            $search_path=$html->url('/search/');
            if(isset($this->params['named']['categories']))
                $search_path.='categories:'.$this->params['named']['categories']."/";
            if(isset($this->params['named']['locations']))
                $search_path.='locations:'.$this->params['named']['locations']."/";
            
                
            ?>
            <ul>
                <?php 
                $threshold=26;
                $i=1;
                foreach($letter_count as $item): 
                ?>
                <li <?php if($i>$threshold) echo 'class="hidden extra"'; else echo 'class="regular"' ?>>
                    <a 
                    <?php if(isset($this->params['named']['alpha']) && $this->params['named']['alpha']==$item[0]['letter']) echo 'class="curitem"' ?> 
                    
                    href="<?php echo $search_path."alpha:".$item[0]['letter'] ?>"><?php echo $item[0]['letter'] ?></a>
                    
                    <strong><?php echo $item[0]['total_item'] ?> items</strong>
                </li>
                <?php
                $i++;
                endforeach ?>
                 
                <?php if($i>$threshold): ?>
                <li><a href="#" class="morealpha">&gt;&gt;</a>
                    <strong>more</strong>
                </li>
                <?php endif ?>
            </ul>
            <?php endif ?>
            
            <br clear="all" />
        </div>